package com.zhiyun.service;

import com.zhiyun.domain.TestQuestion;
import com.zhiyun.vo.Result;

public interface TestQuestionService {
    /**
     * 注意:TestQuestion里包含了QuestionType(多表映射)
     * @param testPaperId 题库id
     * @return List<TestQuestion>
     */
    public Result selectByPaperId(int testPaperId);
    public Result update(TestQuestion testQuestion);
    public Result insert(TestQuestion testQuestion);
    public Result delete(int id);
}
